package com.zbkj.common.model.system;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 随机记录表
 * </p>
 *
 * @author 
 * @since 2024-10-02
 */
@Getter
@Setter
@TableName("pe_random_record")
@ApiModel(value = "RandomRecord对象", description = "随机记录表")
public class RandomRecord implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("主键ID")
      @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty("类型 0 订单转账码")
    private Integer type;

    @ApiModelProperty("来源ID: type为0时为订单ID")
    private Long sourceId;

    @ApiModelProperty("随机code")
    private String rcode;


}
